{config_load file="lang/$language/lang_$language.conf" section="boxes"}
{include file="$html_tpl_path/box_top.html" name=filter}
{include file="$html_tpl_path/box_name.html" name=filter class=filter}
<div class="box_content">
	{$FORM_FILTER}
    <div class="filter-label">
  		<p>
  			<label style="font-size:16px;">Preis:</label>
  			<span id="price_range"></span>
  		</p>
  		<div id="filter-range"></div><br />
  		<input type="hidden" name="minp" id="val_1" />
  		<input type="hidden" name="maxp" id="val_2" />
    </div>

		{if $filters}
    {foreach name=aussen item=data from=$filters}
    <div class="filter-label">
			<ul>

					<li>
            <label style="font-size:16px;">{$data.name}</label>
						<!--<input id="{$data.clean_name}" type="checkbox" name="filter[]" value="{$data.filter_id}" class="filter_item"{$data.checked}{$data.disabled} /> {$data.name}{if $data.total} <em class="fs85">({$data.total})</em>{/if}-->
						{if $data.subs}
							<ul id="filter_child_{$data.clean_name}" class="filter_sub_items {$data.sub_class}">
								{foreach name=aussen item=sub_data from=$data.subs}
									<li>
										<input type="checkbox" name="sub_filter[]" value="{$sub_data.filter_id}" class="{$data.clean_name} styled"{$sub_data.checked}{$sub_data.disabled} />
										<span style="font-size:85%" {$sub_data.class}>{$sub_data.name}</span>
										{* if $sub_data.count} <span style="font-size:70%">({$sub_data.count})</span>{/if *}
									</li>
								{/foreach}
							</ul>
						{/if}
					</li>

			</ul>
      </div>
    {/foreach}
		{/if}

		<div style="clear: both; float: left; margin-top: 17px; margin-left: 290px;" class="ac">{$SUBMIT_BUTTON}</div>
		<input type="hidden" name="action"value="filter" />
	</form>
</div>
{include file="$html_tpl_path/box_bottom.html"}